package com.itcast.n1_base1;

public class Test9_导致类初始化2_Class_forName {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> clazz = Class.forName("com.itcast.n1_base1.Demo4");
    }
}


class Demo4{
    static {
        System.out.println("初始化了...");
    }
}
